package com.zhike.util;

//用于持有当前数据源的标识
public class DataSourceHolder {
	private static final ThreadLocal<String> dataSources = new ThreadLocal<String>();

    public static void setDataSources(String dataSource) {
        dataSources.set(dataSource);
    }

    public static String getDataSources() {
        return dataSources.get();
    }

}
